.flex-start {
    align-items: flex-start !important;
}

.label {
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.img-item {
    cursor: pointer;
    width: 102px;
    height: 102px;
    position: relative;
    text-align: center;

    img {
        width: 100%;
        height: 100%;
    }

    .ac-p {
        opacity: 0;
        transition-duration: 0.2s;
    }

    &:hover {
        .ac-p {
            opacity: 1;
        }
    }
}

.file-item {
    margin: 0px 0px 15px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.file-type-base {
    width: 102px;
    height: 102px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-type-pdf {
    background-color: #FB5138;
    color: #fff;
}

.file-type-word {
    background-color: #1267FA;
    color: #fff;
}

.file-type-excel {
    background-color: #21CF68;
    color: #fff;
}

.file-type-zip {
    background-color: #FFCD42;
    color: #fff;
}

.img-p {
    display: flex;
    flex-wrap: wrap;
}

.upload-btn {
    width: 102px;
    height: 102px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px #909399 dashed;
    cursor: pointer;
}

.ac-p {
    position: absolute;
    top: 0;
    width: 102px;
    background-color: #00000030;
    height: 102px;
    display: flex;
    align-items: center;
    justify-content: center;

    a {
        color: #fff;
    }
}

.file-link {
    display: flex;
    align-items: center;
    margin-bottom: 5px;

    &:last-child {
        margin-bottom: 0;
    }
}

.file-download {
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-readonly-wrapper {
    display: flex;
    align-items: center;

    .file-item {
        position: relative;

        .file-item-btns {
            opacity: 0;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            transition-duration: 0.2s;
            background-color: rgba(0, 0, 0, 0.2);
            cursor: pointer;
        }

        &:hover {
            .file-item-btns {
                opacity: 1;
            }
        }

        .file-download {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            bottom: 10px;
            color: #fff;
        }
    }
}